package cn.zhoumingxin.Test;


public class TestCompound {
	public static void main(String[] args) {
		double result = 1;		//第一天的功力
		
		
		//验证进步
		for(int i = 0;i < 365;i++) {
			result = result + result * 0.01;
		}
		
		
		System.out.println(result);
		
		result = 1;
		
		//验证退步
		for(int j = 0;j < 365;j++) {
			result = result - result * 0.01;
		}
	
		System.out.println(result);
		
	}

}
